﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunboxsoft.ASMS.Client.Domain.WebRef
{
    public partial class VCapitalChangedRecord
    {
        /// <summary>
        /// 变动类型文字
        /// </summary>
        public string ChangedTypeText
        {
            get
            {
                return Constant.CapitalChangedType.GetText(this.ChangedType);
            }
        }

        public string BillTypeText
        {
            get
            {
                return Constant.BillTypes.GetText(this.BillType);
            }
        }

        public string CapitalRoleTypeText
        {
            get
            {
                if (CapitalRoleType != null)
                {
                    return Constant.CapitalRoleTypes.GetText(this.CapitalRoleType.Value);
                }
                return string.Empty;
            }
        }
    }
}
